package com.siwei.mes.entity.erp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import javax.persistence.Column;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;


/**
 * (Customer)实体类
 *
 * @author linzi
 * @since 2024-08-14 22:17:51
 */
@Data
@Accessors(chain = true)
@Table(name = "customer")
@ApiModel(value = "Customer", description = "")
public class Customer implements Serializable {
    private static final long serialVersionUID = 119055065476821965L;
    @Column(name = "CUSID")
    @ApiModelProperty(value = "客户id", name = "cusid")
    private Integer cusid;
    @Column(name = "name")
    @ApiModelProperty(value = "客户名称", name = "name")
    private String name;
    @Column(name = "subName")
    @ApiModelProperty(value = "客户简称", name = "subname")
    private String subname;
    @Column(name = "extraInfo")
    @ApiModelProperty(value = "扩展信息", name = "extrainfo")
    private String extrainfo;
    @Column(name = "searchKey")
    @ApiModelProperty(value = "唯一标识", name = "searchkey")
    private String searchkey;
    @Column(name = "createTime")
    @ApiModelProperty(value = "创建时间", name = "createtime")
    private Date createtime;
    @Column(name = "updateTime")
    @ApiModelProperty(value = "修改时间", name = "updatetime")
    private Date updatetime;
    /**
     * accountcustomer主建
     */
    @Column(name = "THCCID")
    @ApiModelProperty(value = "accountcustomer主建", name = "thccid")
    private Integer thccid;
    @Column(name = "state")
    @ApiModelProperty(value = "状态", name = "state")
    private Integer state;
}
